@import "../../app.less";

.mainBox{
  font-family: 'ruizizhenyan';
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}

.avatarBox(){
  width: 75vw;
  height: 30vw;
  padding: 18px 18px 14px 20px;
  border-radius: 8px;
}
.modifyAvatarBox{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  .avatarBox();
  position: relative;
  box-shadow: 0 0 8px rgba(0, 0, 0,0.25);

  .wxChoose{
    position: absolute;
    top: 50%;  
    transform: translateY(-50%);  
    .avatarBox();
    z-index: 10;
  }
}
.avatar{
  width: 14vh;
  height: 14vh;
  border-radius: 10px;
}
.userNameBox{
  margin-top: 20px;
}
.inputUserName{
  color: #6A6A6A;
  width: 75vw;
  height: 12vw;
  padding: 0px 10px 0px 20px;
  background-color: white;
  margin-top: 18px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0,0.25);
}
.saveBtn{
  color: white;  
  display: flex;
  align-items: center; 
  justify-content: center; 
  width: 30px;
  height: 10vw;
  border-radius: 8px;
  background-color: black;
  padding: 0px;
  margin-top: 18px;
}
.getAvatar{
  position: absolute;
  width: 70vw;
  height: 12vh;
  padding: 0;
  z-index: 10;
  opacity:0; 
}